// 统计分析接口
import { admin } from '../servicePath'
export default ({ service, request, serviceForMock, requestForMock, mock, faker, tools }) => ({
  // 同比用量图表
  admin_yearOnYear_getStatisticsChartVO (params) {
    return request({
      url: `${admin}/admin/yearOnYear/getStatisticsChartVO`,
      method: 'POST',
      params
    })
  },
  // 同比用量分页列表
  admin_yearOnYear_getStatisticsPageVO (params) {
    return request({
      url: `${admin}/admin/yearOnYear/getStatisticsPageVO`,
      method: 'POST',
      params
    })
  },
  // 环比用量图表
  admin_loopRatio_getLoopRatioStatisticsChartVO (params) {
    return request({
      url: `${admin}/admin/loopRatio/getLoopRatioStatisticsChartVO`,
      method: 'POST',
      params
    })
  },
  // 环比用量分页列表
  admin_loopRatio_getLoopRatioStatisticsPageVO (params) {
    return request({
      url: `${admin}/admin/loopRatio/getLoopRatioStatisticsPageVO`,
      method: 'POST',
      params
    })
  },
  // 趋势分析图表
  admin_loopRatio_getTrendStatisticsChartVO (params) {
    return request({
      url: `${admin}/admin/loopRatio/getTrendStatisticsChartVO`,
      method: 'POST',
      params
    })
  },
  // 用户用量图表
  admin_userDosage_getUserDosageChartVO (params) {
    return request({
      url: `${admin}/admin/userDosage/getUserDosageChartVO`,
      method: 'POST',
      params
    })
  },
  // 用户用量分页列表
  admin_userDosage_getUserDosagePageVO (params) {
    return request({
      url: `${admin}/admin/userDosage/getUserDosagePageVO`,
      method: 'POST',
      params
    })
  },
  // 零用量分页列表
  admin_zeroDosage_getZeroDosagePageVO (params) {
    return request({
      url: `${admin}/admin/zeroDosage/getZeroDosagePageVO`,
      method: 'POST',
      params
    })
  },
  // 突增突减用量图表
  admin_jumpAndAnticlimaxDosage_getJumpAndAnticlimaxChartVO (params) {
    return request({
      url: `${admin}/admin/jumpAndAnticlimaxDosage/getJumpAndAnticlimaxChartVO`,
      method: 'POST',
      params
    })
  },
  // 突增突减用量分页列表
  admin_jumpAndAnticlimaxDosage_getJumpAndAnticlimaxPageVO (params) {
    return request({
      url: `${admin}/admin/jumpAndAnticlimaxDosage/getJumpAndAnticlimaxPageVO`,
      method: 'POST',
      params
    })
  }
})
